const data = require('./mock/index.ts')

module.exports = {
    devServer: {
        before: app => {
            app.post('/api/getList', (req, res) => {
                res.send({
                    code: 1,
                    data
                })
            })
        }
    }
}